package com.fc.commons;


public class ByteUtil {

	public static byte[] int2Bytes(int source){
		byte[] b = new byte[4];
		
		b[3] = (byte)(0xff & source);
		b[2] = (byte)(0xff & (source >> 8));
		b[1] = (byte)(0xff & (source >> 16));
		b[0] = (byte)(0xff & (source >> 24));
		
		return b;
	}
	
}
